<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>培训方案详情</title>
	<meta name="decorator" content="default"/>
</head>
<body>
<ul class="nav nav-tabs">
	<li><a href="${ctx}/resource/resourceTrainprogram/">培训方案列表</a></li>
	<li class="active"><a href="${ctx}/resource/resourceTrainprogram/detail?id=${resourceTrainprogram.id}">培训方案详情</a></li>
</ul><br/>
<form:form id="inputForm" modelAttribute="resourceTrainprogram" action="" method="post" class="form-horizontal">
	<sys:message content="${message}"/>
	<div class="control-group">
		<label class="control-label">培训方案名称：</label>
		<div class="controls">
			<form:input name="trainprogramName" path="trainprogramName" htmlEscape="false" maxlength="64" class="input-xlarge required" readonly="true"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">培训方案属性：</label>
		<div class="controls">
			<form:select path="trainprogramAttribute" class="input-xlarge required" disabled="true">
				<form:option value="" label="">===请选择===</form:option>
				<form:options items="${fns:getDictList('resource_trainprogram_attribute')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
			</form:select>
			<span class="help-inline"><font color="red">*</font> </span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">备注信息：</label>

		<div class="controls">
			<form:textarea path="remarks" htmlEscape="false" rows="4" maxlength="255" class="input-xxlarge " readonly="true"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">课程体系：</label>
		<div class="controls">
			<table id="contentTable" class="table table-striped table-bordered table-condensed">
				<thead>
				<tr>
					<th>课程体系序号</th>
					<th>课程体系名称</th>
				</tr>
				</thead>
				<tbody>
				<c:forEach items="${coursesystemPage.list}" var="coursesystem" varStatus="status">
					<tr>
						<td>
								${status.count}
						</td>
						<td>
								${coursesystem.coursesystemName}
						</td>


					</tr>
				</c:forEach>
				</tbody>
			</table>
			<div class="pagination">${coursesystemPage}</div>
		</div>
		<div class="controls">
			<input  class="btn btn-primary" type="button" value="课程体系列表查看" onclick="window.location.href='${ctx}/resource/resourceCoursesystem/findPageByTrainprogramId?trainprogramId=${resourceTrainprogram.id}'"/>&nbsp;
		</div>
	</div>

	<div class="control-group">
		<label class="control-label">CTF题目集：</label>
		<div class="controls">
			<table id="ctfSetContentTable" class="table table-striped table-bordered table-condensed">
				<thead>
				<tr>
					<th>课程体系序号</th>
					<th>课程体系名称</th>
				</tr>
				</thead>
				<tbody>
				<c:forEach items="${ctfSetPage.list}" var="ctfSet" varStatus="status">
					<tr>
						<td>
								${status.count}
						</td>
						<td>
								${ctfSet.ctfSetName}
						</td>


					</tr>
				</c:forEach>
				</tbody>
			</table>
			<div class="pagination">${ctfSetPage}</div>
		</div>
		<div class="controls">
			<input  class="btn btn-primary" type="button" value="CTF题目集列表查看" onclick="window.location.href='${ctx}/resource/resourceCtfSet/findPageByTrainprogramId?trainprogramId=${resourceTrainprogram.id}'"/>&nbsp;
		</div>
	</div>

	<div class="control-group">
		<label class="control-label">试卷：</label>
		<div class="controls">
			<table id="paperContentTable" class="table table-striped table-bordered table-condensed">
				<thead>
				<tr>
					<th>试卷序号</th>
					<th>试卷名称</th>
				</tr>
				</thead>
				<tbody>
				<c:forEach items="${paperPage.list}" var="paper" varStatus="status">
					<tr>
						<td>
								${status.count}
						</td>
						<td>
								${paper.paperName}
						</td>


					</tr>
				</c:forEach>
				</tbody>
			</table>
			<div class="pagination">${paperPage}</div>
		</div>
		<div class="controls">
			<input  class="btn btn-primary" type="button" value="试卷列表查看" onclick="window.location.href='${ctx}/resource/resourcePaper/findPageByTrainprogramId?trainprogramId=${resourceTrainprogram.id}'"/>&nbsp;
		</div>
	</div>

	<div class="form-actions">
		<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
	</div>
</form:form>

</body>
</html>